package com.flyco.modules.pms.vo;

import java.util.List;
import com.flyco.modules.pms.entity.PmsProduct;
import com.flyco.modules.pms.entity.PmsSkuStock;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 商品信息
 * @Author: flyco
 * @Date:   2019-11-22
 * @Version: V1.0
 */
@Data
public class PmsProductPage {

	/**商品ID*/
	private Long id;
	/**品牌id*/
  	@Excel(name = "品牌id", width = 15)
	private Long brandId;
	/**商品分类id*/
  	@Excel(name = "商品分类id", width = 15)
	private Long productCategoryId;
	/**运费模版id*/
  	@Excel(name = "运费模版id", width = 15)
	private Long feightTemplateId;
	/**商品属性分类id*/
  	@Excel(name = "商品属性分类id", width = 15)
	private Long productAttributeCategoryId;
	/**商品名称*/
  	@Excel(name = "商品名称", width = 15)
	private String name;
	/**图片*/
  	@Excel(name = "图片", width = 15)
	private String pic;
	/**货号*/
  	@Excel(name = "货号", width = 15)
	private String productSn;
	/**删除状态：0->未删除；1->已删除*/
  	@Excel(name = "删除状态：0->未删除；1->已删除", width = 15)
	private String deleteStatus;
	/**上架状态：0->下架；1->上架*/
  	@Excel(name = "上架状态：0->下架；1->上架", width = 15)
	private String publishStatus;
	/**新品状态:0->不是新品；1->新品*/
  	@Excel(name = "新品状态:0->不是新品；1->新品", width = 15)
	private String newStatus;
	/**推荐状态；0->不推荐；1->推荐*/
  	@Excel(name = "推荐状态；0->不推荐；1->推荐", width = 15)
	private String recommandStatus;
	/**审核状态：0->未审核；1->审核通过*/
  	@Excel(name = "审核状态：0->未审核；1->审核通过", width = 15)
	private String verifyStatus;
	/**热门状态；0->不热门；1->热门*/
	@Excel(name = "热门状态：0->不热门；1->热门", width = 15)
	private String hotStatus;
	/**排序*/
  	@Excel(name = "排序", width = 15)
	private Integer sort;
	/**销量*/
  	@Excel(name = "销量", width = 15)
	private Integer sale;
	/**价格*/
  	@Excel(name = "价格", width = 15)
	private java.math.BigDecimal price;
	/**促销价格*/
  	@Excel(name = "促销价格", width = 15)
	private java.math.BigDecimal promotionPrice;
	/**赠送的成长值*/
  	@Excel(name = "赠送的成长值", width = 15)
	private Integer giftGrowth;
	/**赠送的积分*/
  	@Excel(name = "赠送的积分", width = 15)
	private Integer giftPoint;
	/**限制使用的积分数*/
  	@Excel(name = "限制使用的积分数", width = 15)
	private Integer usePointLimit;
	/**副标题*/
  	@Excel(name = "副标题", width = 15)
	private String subTitle;
	/**商品描述*/
  	@Excel(name = "商品描述", width = 15)
	private String description;
	/**市场价*/
  	@Excel(name = "市场价", width = 15)
	private java.math.BigDecimal originalPrice;
	/**库存*/
  	@Excel(name = "库存", width = 15)
	private Integer stock;
	/**库存预警值*/
  	@Excel(name = "库存预警值", width = 15)
	private Integer lowStock;
	/**单位*/
  	@Excel(name = "单位", width = 15)
	private String unit;
	/**商品重量，默认为克*/
  	@Excel(name = "商品重量，默认为克", width = 15)
	private java.math.BigDecimal weight;
	/**是否为预告商品：0->不是；1->是*/
  	@Excel(name = "是否为预告商品：0->不是；1->是", width = 15)
	private String previewStatus;
	/**以逗号分割的产品服务：1->无忧退货；2->快速退款；3->免费包邮*/
  	@Excel(name = "以逗号分割的产品服务：1->无忧退货；2->快速退款；3->免费包邮", width = 15)
	private String serviceIds;
	/**关键字*/
  	@Excel(name = "关键字", width = 15)
	private String keywords;
	/**备注*/
  	@Excel(name = "备注", width = 15)
	private String note;
	/**画册图片，连产品图片限制为5张，以逗号分割*/
  	@Excel(name = "画册图片，连产品图片限制为5张，以逗号分割", width = 15)
	private Object albumPics;
	/**详情标题*/
  	@Excel(name = "详情标题", width = 15)
	private String detailTitle;
	/**详情描述*/
  	@Excel(name = "详情描述", width = 15)
	private Object detailDesc;
	/**产品详情网页内容*/
  	@Excel(name = "产品详情网页内容", width = 15)
	private Object detailHtml;
	/**移动端网页详情*/
  	@Excel(name = "移动端网页详情", width = 15)
	private Object detailMobileHtml;
	/**促销开始时间*/
  	@Excel(name = "促销开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date promotionStartTime;
	/**促销结束时间*/
  	@Excel(name = "促销结束时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date promotionEndTime;
	/**活动限购数量*/
  	@Excel(name = "活动限购数量", width = 15)
	private Integer promotionPerLimit;
	/**促销类型：0->没有促销使用原价;1->使用促销价；2->使用会员价；3->使用阶梯价格；4->使用满减价格；5->限时购*/
  	@Excel(name = "促销类型：0->没有促销使用原价;1->使用促销价；2->使用会员价；3->使用阶梯价格；4->使用满减价格；5->限时购", width = 15)
	private String promotionType;
	/**品牌名称*/
  	@Excel(name = "品牌名称", width = 15)
	private String brandName;
	/**商品分类名称*/
  	@Excel(name = "商品分类名称", width = 15)
	private String productCategoryName;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
	/**删除标记*/
	private Integer cancelFlag;
	/**门店编号*/
	private Long storeId;
	/**导购ID*/
	private Long salesId;
	/**导购名称*/
	private String salesName;


	@ExcelCollection(name="SKU")
	private List<PmsSkuStock> pmsSkuStockList;
	
}
